package com.siyuanren.gcocp.consts;

import com.siyuanren.gcocp.common.config.PublicConfig;

/**
 * Created by   guwr
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.consts.GcocpConsts
 * Date         2017/5/2
 * Time         20:06
 * Description
 */
public class GcocpConsts {

    /**
     * RESOURCE 外网web地址
     */
    public static final String RESOURCE_WEB = PublicConfig.RESOURCE_URL;

    /**
     * 路径分隔符
     */
    public static final String FILE_SEPARATOR = "/";
    /**
     * 路径分隔符- windos
     */
    public static final String WINDOWS_FILE_SEPARATOR = "\\";


    /**
     * 用户登录TOKEN缓存失效时间为两小时
     */
    public final static Integer LOGIN_TOKEN_TIME_OUT = 7200;




    /**
     * 头像上传大小限制
     */
    public final static int UPLOAD_IMG_MAX_FILE_SIZE = 1024 * 1024;




    // endregion
    public static final Integer _ONE = -1;
    public static final Integer ZERO = 0;
    public static final Integer ONE = 1;
    public static final Integer TWO = 2;
    public static final Integer THREE = 3;
    //  region chatroom
    public static final Integer FOUR = 4;

    // endregion
    public static final Integer FIVE = 5;
    public static final Integer SIX = 6;
    public static final Integer SEVEN = 7;
    public static final Integer EIGHT = 8;
    public static final Integer NINE = 8;
    public static final Integer TEN = 10;

    // endregion
    // 二维码图片后缀
    public static final String QRCODE_SUFFIX = ".jpg";
    // 二维码图片大小
    public static final Integer QRCODE_SIZE = 251;
}
